﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CommunityCredit.Components
{
    /// <summary>
    /// Represents a demographic (geographical representation of a task).
    /// </summary>
    public class Demographic
    {
        #region Properties and fields

        /// <summary>
        /// Unique identifier.
        /// </summary>
        public int ID { get; set; }

        /// <summary>
        /// IP address of the earner.
        /// </summary>
        public string IPAddress { get; set; }

        /// <summary>
        /// X coordination of the demographic.
        /// </summary>
        public string XCoord { get; set; }

        /// <summary>
        /// Y coordination of the demographic.
        /// </summary>
        public string YCoord { get; set; }

        /// <summary>
        /// The city where task is sent from.
        /// </summary>
        public string City { get; set; }

        /// <summary>
        /// The state where task is sent from.
        /// </summary>
        public string State { get; set; }

        /// <summary>
        /// The country where task is sent from.
        /// </summary>
        public string Country { get; set; }

        /// <summary>
        /// The date when task is sent.
        /// </summary>
        public DateTime Date { get; set; }

        #endregion
    }
}
